﻿using System;
using System.Data;
using PPI.General;
using PPI.WebConsumer.PPI.Svc;


namespace PPI.WebConsumer
{
    public static class WVendor
    {
        public static DataSet SelectData(Int32 VendorID)
        {
            ConfigReader _Reader = ConfigReader.GetInstance();
            PPI.Svc.Service1 svc = new Service1();
            return svc.DVendor_SelectData(VendorID, _Reader.ConectionMode);
        }

        public static DataSet SelectAllIdName()
        {
            ConfigReader _Reader = ConfigReader.GetInstance();
            PPI.Svc.Service1 svc = new Service1();
            return svc.DVendor_SelectAllIdName(_Reader.ConectionMode);
        }
    }
}
